// import { App } from 'vue'
// import { mapTwoLevelRouter } from '@/store/help'
import { createRouter, createWebHashHistory } from 'vue-router'
// import { constantRoutes } from './routes/constants'
import Login from "../views/login.vue";
const router = createRouter({
  history: createWebHashHistory(),
  routes:[
      {
      path: '/login',
      name: 'login',
      meta:{
        title:'登录',
      },
      component: Login
    },
  ],
})

// export function useAppRouter(app: App) {
//   app.use(router)
// }

export default router
